package com.sanctuary.dao.interfaces;

import java.sql.SQLException;
import java.util.List;

import com.sanctuary.models.Term;

public interface TermDao {
	public int save (Term t) throws SQLException;
	public int delete (Term t) throws SQLException;
	public List<Term> findByWeightThreshold(double threshold) throws SQLException;
	public List<Term> findAll() throws SQLException;
	public List<Term> findByCategories(String category) throws SQLException;
}
